package ag.core;

import java.util.HashMap;

import android.graphics.Bitmap;

public class AGResource {
	private HashMap<Integer, Bitmap> images;
	private HashMap<Integer, Integer> sounds;
	
	public AGResource(){
		this.images = new HashMap<Integer, Bitmap>();
		this.sounds = new HashMap<Integer, Integer>();
	}
	
	public void setImage(int id, Bitmap bitmap){
		this.images.put(id, bitmap);
	}
	
	public Bitmap getImage(int id){
		return this.images.get(id);
	}
	
	public int getSound(int resid){
		return this.sounds.get(resid);
	}
	
	public void setSound(int resid, int id){
		this.sounds.put(resid, id);
	}
}
